﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Quality_Calculator.DataLoader;

namespace Quality_Calculator
{
    static class Program
    {
        /// <summary>
        /// Point d'entrée principal de l'application.
        /// </summary>
        [STAThread]
        static void Main()
        {

            //StatLoader.LoadStats();
            /*Synthesis synth = new Synthesis()
            {
                BaseControl = 340,
                QualityMax = 2921,
                CPMax = 364,
                CraftmanShip = 359,
                DurabilityMax = 80,
                ProgressMax = 233,
                Sequence = new List<eSpell>() { eSpell.InnerQuiet,
                                                eSpell.SteadyHands, 
                                                eSpell.HastyTouch,
                                                eSpell.Manipulation,
                                                eSpell.HastyTouch,
                                                eSpell.HastyTouch,
                                                eSpell.HastyTouch,
                                                eSpell.HastyTouch,
                                                eSpell.HastyTouch,                                               
                                                eSpell.GreatStrides,
                                                eSpell.Ingenuity,
                                                eSpell.Innovation,
                                                eSpell.AdvancedTouch,
                                                eSpell.GreatStrides,
                                                eSpell.AdvancedTouch,
                                                eSpell.Rumination,
                                                eSpell.SteadyHandsNoPrio,
                                                eSpell.Ingenuity,
                                                eSpell.StandardSynth,
                                                eSpell.StandardSynth
 }
                /*Sequence = new List<eSpell>() { eSpell.InnerQuiet,
                                                eSpell.SteadyHands, 
                                                eSpell.HastyTouch,
                                                eSpell.Manipulation,
                                                eSpell.HastyTouch,
                                                eSpell.HastyTouch,
                                                eSpell.HastyTouch,
                                                eSpell.HastyTouch,
                                                eSpell.GreatStrides,
                                                eSpell.Ingenuity,
                                                eSpell.Innovation,
                                                eSpell.AdvancedTouch,
                                                eSpell.GreatStrides,
                                                eSpell.AdvancedTouch,
                                                eSpell.Rumination,
                                                eSpell.SteadyHandsNoPrio,
                                                eSpell.Ingenuity,
                                                eSpell.StandardSynth,
                                                eSpell.StandardSynth,
                                                eSpell.StandardSynth,
                                                eSpell.BasicSynth,
                                                eSpell.BasicSynth,
                                                eSpell.BasicSynth }
            };
            synth.RunSimulation(100000);
            Console.WriteLine("HQ: " + synth.HQcount + " NQ: " + synth.NQCount + " Fails: " + synth.FailCount);
            Console.Read();
            */
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
    }
}
